home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / SecalDemo / Inc / prefs / printergfx.inc < prev    next >
Encoding:
Text File  |  1997-06-11  |  1.0 KB  |  58 lines

  1. include "inc/exec/types.inc";
  2. include "inc/libraries/iffparse.inc";
  3.  
  4. struct PrinterGfxPrefs is
  5.   pg_Reserved[4]:long;
  6.   pg_Aspect:uword;
  7.   pg_Shade:uword;
  8.   pg_Image:uword;
  9.   pg_Threshold:word;
  10.   pg_ColorCorrect:ubyte;
  11.   pg_Dimensions:ubyte;
  12.   pg_Dithering:ubyte;
  13.   pg_GraphicFlags:uword;
  14.   pg_PrintDensity:ubyte;
  15.   pg_PrintMaxWidth:uword;
  16.   pg_PrintMaxHeight:uword;
  17.   pg_PrintXOffset:ubyte;
  18.   pg_PrintYOffset:ubyte;
  19. ;
  20.  
  21. def PA_HORIZONTAL = 0;
  22. def PA_VERTICAL = 1;
  23.  
  24. def PS_BW = 0;
  25. def PS_GREYSCALE = 1;
  26. def PS_COLOR = 2;
  27. def PS_GREY_SCALE2 = 3;
  28.  
  29. def PI_POSITIVE = 0;
  30. def PI_NEGATIVE = 1;
  31.  
  32. def PCCB_RED = 1;
  33. def PCCB_GREEN = 2;
  34. def PCCB_BLUE = 3;
  35.  
  36. def PCCF_RED = (1<<0);
  37. def PCCF_GREEN = (1<<1);
  38. def PCCF_BLUE = (1<<2);
  39.  
  40. def PD_IGNORE = 0;
  41. def PD_BOUNDED = 1;
  42. def PD_ABSOLUTE = 2;
  43. def PD_PIXEL = 3;
  44. def PD_MULTIPLY = 4;
  45.  
  46. def PD_ORDERED = 0;
  47. def PD_HALFTONE = 1;
  48. def PD_FLOYD = 2;
  49.  
  50. def PGFB_CENTER_IMAGE = 0;
  51. def PGFB_INTEGER_SCALING = 1;
  52. def PGFB_ANTI_ALIAS = 2;
  53.  
  54. def PGFF_CENTER_IMAGE = (1<<0);
  55. def PGFF_INTEGER_SCALING = (1<<1);
  56. def PGFF_ANTI_ALIAS = (1<<2);
  57.  
  58.